package com.javaclimb.music.service;

import com.javaclimb.music.domain.ListSong;

import java.util.List;

/*
 * 歌单歌曲service接口*/
public interface ListSongService {
    public boolean insert(ListSong listSong);

    public boolean update(ListSong listSong);

    public boolean delete(Integer id);

    public ListSong selectByPrimaryKey(Integer id);

    public List<ListSong> allListSong();

    public List<ListSong> listSongOfSongListId(Integer songListId);

    public boolean deleteBySongIdAndSongListId(Integer songId, Integer songListId);
}
